package com.mall.entity.groupbooking;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author White
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GbItem {

    private Long id;
    /**
     * 商品id
     */
    private Long specItemId;
    /**
     * spu主键
     */
    private Long itemId;
    /**
     * 拼团价
     */
    private BigDecimal gbPrice;
    /**
     * 拼团限量
     */
    private Integer limitNum;
    /**
     * 限量剩余
     */
    private Integer limitSurplus;

    private Long goodsId;

    //商品名称
    private String gname;

    //商品价格
    private BigDecimal price;
}
